
package com.zhitan.ems.app.sip.wrapper;
import com.zhitan.ems.app.sip.entity.SipDeviceEntity;
import com.zhitan.ems.app.sip.vo.SipDeviceVO;
import com.zhitan.ems.common.extra.utils.BeanUtil;
import com.zhitan.ems.framework.core.mp.base.BaseEntityWrapper;
  /**
 * 监控设备 包装类,返回视图层所需的字段
 * @author zhitan
 * 
 * @date 2025-09-19 22:49:44
 */
public class SipDeviceWrapper extends BaseEntityWrapper<SipDeviceEntity, SipDeviceVO>  {
    public static SipDeviceWrapper build() {
        return new SipDeviceWrapper();
    }
	@Override
	public SipDeviceVO entityVO(SipDeviceEntity sipDevice) {
		if(sipDevice==null) {
			return null;
		}
		SipDeviceVO sipDeviceVO = BeanUtil.copy(sipDevice, SipDeviceVO.class);
		return sipDeviceVO;
	}

}
